<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<head>
<style type="text/css">
div
{

}
div.login
{

margin-top:20px;
margin-bottom:100px;
margin-right:50px;
margin-left:50px;
width:700px
align:center
height:600px
float:left
border: 1px solid #dedfe1
}

.button {
	background-color: #39769b;
	color: #FFFFFF;
	font: bold 11px verdana,geneva,lucida,'lucida grande',arial,helvetica,sans-serif;
	padding: 5px 7px;
}
</style>
</head>

<body>
<?php if ( $sf_request->hasParameter("error") ): ?>
	<div class="login" ><a style="color:red"><?php echo $sf_request->getParameter("error")?></a></div>
<?php endif ?>
<div class="login" >
	<div style="width:240px;float:left;height:240px;">
		<img src="<?php echo image_path("icon_login.jpeg")?>" height="220" width="200" /><br />
	</div>
	<form action="<?php echo url_for("@login")?>" method="post">
		<div style="width:240px;float:left;height:260px;">
			<h3 style="text-align:left;color:#853b38">Login</h3>
			<div style="background-color:#a3c3d8;width:350px;height:140px;border: 1px solid #dedfe1;-moz-border-radius: 10px;padding:10px;">
				&nbsp;&nbsp;Username
				&nbsp;&nbsp;<input type="text" id="mailaddress" name="mailaddress" value="<?php echo (isset($strMailAddress)) ? $strMailAddress : '' ?>" size="25px"/>
				<br /><br />
				&nbsp;&nbsp;Password
				&nbsp;&nbsp;<input type="password" id="passowrd" name="password" value="<?php echo (isset($strPassWord)) ? $strPassWord : '' ?>" size="25px" />
				<br /><br />
				&nbsp;&nbsp;<a href="<?php echo url_for('@lost_password') ?>" title="Quên Password">Quên Password ?</a>
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				<input name="Submit" type="submit" class="button" value="LOGIN" />
			</div>
		</div>
	</form>
</div>
</body>

</html>